﻿<%@ Page Language="c#" ValidateRequest="false" CodeBehind="NewMarket.aspx.cs" AutoEventWireup="True"
    Inherits="Eis51.Web.Admin.NewsManager.NewMarket" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register assembly="My97" namespace="My97" tagprefix="cc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>NewMarket</title>
    <link href="../../css/cssCn1.css" type="text/css" rel="stylesheet">
    <link href="../../css/cssCn.css" type="text/css" rel="stylesheet">

    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        function checkinput() {
            if ($.trim($('#txtTitle').val()) == '') {
                alert("请输入标题");
                $('#txtTitle').focus();
                return false;                
            }
        
        }

    </script>

</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td>
                <div class="div_subtitle">
                    当前位置：内容管理<span class="arrow_subtitle">&gt;</span>内容编辑</div>
            </td>
        </tr>
    </table>
    <table id="tb_content" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td>
                    <table id="tb_content" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <table class="tb_input" id="queryPane" cellspacing="1" cellpadding="0" width="100%"
                                    align="center" bgcolor="#ffffff" border="0">
                                    <tr>
                                        <td colspan="2">
                                            <img src="../../Img/showtoc.gif">
                                            &nbsp;市场活动内容
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            标题<font color=red>*</font>
                                        </td>
                                        <td>
                                             
                                                <asp:TextBox ID="txtTitle" runat="server" Width="424px"></asp:TextBox> 
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            显示顺序
                                        </td>
                                        <td>
                                            
                                                <asp:TextBox ID="txtShowIdx" runat="server" Width="50px"></asp:TextBox>值大的排在前面
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            简述
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtShowDescr" runat="server" Height="188px" TextMode="MultiLine"
                                                Width="857px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            <font face="宋体">内容</font>
                                        </td>
                                        <td>
                                            <FCKeditorV2:FCKeditor ID="txtContent" runat="server" Height="500px">
                                            </FCKeditorV2:FCKeditor>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            创建时间</td>
                                        <td>
                                            <cc1:DateTextBox ID="dateCreate" runat="server" Width="194px"></cc1:DateTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            更新时间</td>
                                        <td>
                                            <cc1:DateTextBox ID="dateUpdate" runat="server" Width="194px"></cc1:DateTextBox>
                                        </td>
                                    </tr>
                                </table>
                                <table width="100%">
                                    <tr>
                                        <td align="right" width="100%">
                                            <asp:Button ID="btnSave" runat="server" CssClass="Button" Text="保存" OnClick="btnSave_Click"
                                                OnClientClick="return checkinput()"></asp:Button><asp:Button ID="btnReturn" runat="server"
                                                    CssClass="Button" Text="返回" OnClick="btnReturn_Click"></asp:Button>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
